package com.jy.rhin.infra.cda.dao.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.dao.ChanHouJCDao;
import com.jy.rhin.infra.cda.mapper.ChanHouJCMapper;
import com.jy.rhin.infra.cda.ycf.ChanHouJCVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChanHouJCDaoImpl implements ChanHouJCDao {
	@Resource
	private ChanHouJCMapper chanHouJCMapper;

	@Override
	public ChanHouJCVo getByBH(String fuWuJGBH, String chanHouFSJLBH) {
		QueryWrapper<ChanHouJCVo> queryWrapper = new QueryWrapper<ChanHouJCVo>();
		queryWrapper.eq("a.CHANHOU42TJKJCJLBH", chanHouFSJLBH);
		return chanHouJCMapper.getOne(queryWrapper);
	}

}
